﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using DevExpress.XtraCharts;

namespace Thi_nghiem_nen_ket_co_thong_tin
{
    public class ObjBieuDoThiNghiem
    {
        public const string SESSION_NAME = "ObjBieuDoThiNghiemSS";
        public string data_bieu_do;
        public string data_input_data;

        public DataTable Dt1,Dt2,Dt3,Dt4;
        public double[] data_time = new double[15];
        public double[] data_deformation = new double[15];
        public double average;     //gia tri thu average trong bang data la diem tiep tuyen doc
        public double a_1;         //he so toa do duong tiep tuyen 1
        public double b_1;
        public double a_2;             //he so toa do tiep tuyen 2
        public double b_2;

        public ObjBieuDoThiNghiem()
        {
            Dt1=new DataTable();
            Dt1.Columns.Add("Argument", typeof(Double));
            Dt1.Columns.Add("Value", typeof(Double));
            Dt2=new DataTable();
            Dt2.Columns.Add("Argument", typeof(Double));
            Dt2.Columns.Add("Value", typeof(Double));
            Dt3=new DataTable();
            Dt3.Columns.Add("Argument", typeof(Double));
            Dt3.Columns.Add("Value", typeof(Double));
            Dt4=new DataTable();
            Dt4.Columns.Add("Argument", typeof(Double));
            Dt4.Columns.Add("Value", typeof(Double));
        }
    }
}